Javadoc.SourceFile (Apache Ant API)

org.apache.tools.ant.taskdefs

## Class Javadoc.SourceFile

- java.lang.Object
- - org.apache.tools.ant.taskdefs.Javadoc.SourceFile

- Enclosing class:
    Javadoc

      public static class Javadoc.SourceFile
      extends java.lang.Object

  This class is used to manage the source files to be processed.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Javadoc.SourceFile()` Default constructor
    `Javadoc.SourceFile(java.io.File file)` Constructor specifying the source file directly

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.io.File` | `getFile()` Get the source file.
    `void` | `setFile(java.io.File file)` Set the source file.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Javadoc.SourceFile

          public Javadoc.SourceFile()

      Default constructor

    - #### Javadoc.SourceFile

          public Javadoc.SourceFile(java.io.File file)

      Constructor specifying the source file directly
      Parameters:
        `file` - the source file

  - ### Method Detail

    - #### setFile

          public void setFile(java.io.File file)

      Set the source file.
      Parameters:
        `file` - the source file.

    - #### getFile

          public java.io.File getFile()

      Get the source file.
      Returns:
        the source file.